//
//  OceanBaseVC.h
//  OceanStaffApp
//
//  Created by Zheng on 2019/7/31.
//  Copyright © 2019 Zh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface OceanBaseVC : UIViewController

/** 是否开启侧滑返回手势,默认为YES **/
@property (nonatomic, assign) BOOL canInteractivePopGesture;

/** 是否显示NavBar底部线,默认为NO **/
@property (nonatomic, assign) BOOL haveNavBarLine;

/** 是否隐藏NavBar, 默认为NO **/
@property (nonatomic, assign) BOOL hiddenNavBar;

/** 返回上级页面, 复写方法修改返回事件 **/
- (void)backAction;

/** 设置导航栏左侧items 从左往右 index=0 ++ **/
- (void)configLeftItemWithImageArr:(NSArray *)arr withClickBlock:(void(^)(NSInteger index))block;
- (void)configLeftItemWithTitleArr:(NSArray *)arr withClickBlock:(void(^)(NSInteger index))block;

/** 设置导航栏右侧items 从右往左 index=0 ++ **/
- (void)configRightItemWithTitleArr:(NSArray *)arr withClickBlock:(void(^)(NSInteger index))block;
- (void)configRightItemWithImageArr:(NSArray *)arr withClickBlock:(void(^)(NSInteger index))block;

/** Push方法 **/
- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated;


@end

NS_ASSUME_NONNULL_END
